package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.lifecycle.domain.LifManageList;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_device_state
 *
 * @author ruoyi
 * @date 2021-12-15
 */
public class SysDeviceState extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long devId;

    /** 项目id */
    @Excel(name = "设备id")
    private String sysId;

    /** 设备id */
    @Excel(name = "设备")
    private Long lifId;


    /** 文档信息 */
    @Excel(name = "文档信息")
    private String docInfo;

    /** 需求部门 */
    @Excel(name = "需求部门")
    private String demDept;

    /** 文档状态 0未审核  1审核通过 2审核不通过 */
    @Excel(name = "文档状态 0未审核  1审核通过 2审核不通过")
    private Integer docState;

    /** 变更人 */
    @Excel(name = "变更人")
    private String person;

    /** 状态变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 删除状态  0未删除  1已删除 */
    private Integer delFlag;

    /** 评审意见 */
    @Excel(name = "评审意见")
    private String revComment;

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    @Excel(name = "设备名称")
    private String devName;

    /** 项目名称 */
    private SysDeviceList deviceList;

    /** 项目清单 */
    private LifManageList lifManageList;

    /** 项目信息管理*/
    private SysArgumentDocument sysArgumentDocument;

    public Long getLifId() {
        return lifId;
    }

    public void setLifId(Long lifId) {
        this.lifId = lifId;
    }

    public void Long(Long lifId) {
        this.lifId = lifId;
    }

    public SysArgumentDocument getSysArgumentDocument() {
        return sysArgumentDocument;
    }

    public void setSysArgumentDocument(SysArgumentDocument sysArgumentDocument) {
        this.sysArgumentDocument = sysArgumentDocument;
    }

    public LifManageList getLifManageList() {
        return lifManageList;
    }

    public void setLifManageList(LifManageList lifManageList) {
        this.lifManageList = lifManageList;
    }

    /**审批人*/
    private Long Approver;

    public Long getApprover() {
        return Approver;
    }

    public void setApprover(Long approver) {
        Approver = approver;
    }

    /** 文件 */
    private List<SysDeviceStateFile> deviceStateFile;



    public List<SysDeviceStateFile> getDeviceStateFile() {
        return deviceStateFile;
    }

    public void setDeviceStateFile(List<SysDeviceStateFile> deviceStateFile) {
        this.deviceStateFile = deviceStateFile;
    }

    public Long getDevId() {
        return devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    public void setSysId(String sysId)
    {
        this.sysId = sysId;
    }

    public String getSysId()
    {
        return sysId;
    }
    public void setDocInfo(String docInfo)
    {
        this.docInfo = docInfo;
    }

    public String getDocInfo()
    {
        return docInfo;
    }
    public void setDemDept(String demDept)
    {
        this.demDept = demDept;
    }

    public String getDemDept()
    {
        return demDept;
    }
    public void setDocState(Integer docState)
    {
        this.docState = docState;
    }

    public Integer getDocState()
    {
        return docState;
    }
    public void setPerson(String person)
    {
        this.person = person;
    }

    public String getPerson()
    {
        return person;
    }
    public void setChangeTime(Date changeTime)
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime()
    {
        return changeTime;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setRevComment(String revComment)
    {
        this.revComment = revComment;
    }

    public String getRevComment()
    {
        return revComment;
    }

    public SysDeviceList getDeviceList() {
        return deviceList;
    }

    public void setDeviceList(SysDeviceList deviceList) {
        this.deviceList = deviceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("devId", getDevId())
            .append("sysId", getSysId())
            .append("docInfo", getDocInfo())
            .append("demDept", getDemDept())
            .append("docState", getDocState())
            .append("person", getPerson())
            .append("createTime", getCreateTime())
            .append("changeTime", getChangeTime())
            .append("createBy", getCreateBy())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("revComment", getRevComment())
            .append("Approver", getApprover())
            .append("lifId", getLifId())
            .toString();
    }
}
